package com.arsn.myf.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 项目相关配置
 * @author zhongrj
 */
@Component
@ConfigurationProperties(prefix = "myf")
public class MyfConfig {
    /**
     * 项目名称
     */
    private static String name;

    /**
     * 上传路径
     */
    private static String profile;

    public static String getName() {
        return name;
    }

    public void setName(String name) {
        MyfConfig.name = name;
    }

    public static String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        MyfConfig.profile = profile;
    }
}
